package com.example.transactionhintassistant.service;

import com.example.transactionhintassistant.pojo.dto.user.AddUserInfoDto;
import com.example.transactionhintassistant.pojo.dto.user.ChangeUserInfoDto;
import com.example.transactionhintassistant.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.transactionhintassistant.pojo.vo.UserInfoVo;
import com.example.transactionhintassistant.utils.result.Result;

/**
* @author 86147
* @description 针对表【users(用户表)】的数据库操作Service
* @createDate 2024-03-04 22:44:59
*/
public interface UsersService extends IService<User> {
    Result<UserInfoVo> getUserInfo();
    Result<Object> changeUserInfo(ChangeUserInfoDto userInfoDto);
    Result<Object> changeUserColorTheme(String color);
    Result<Object> addUserInfo(AddUserInfoDto addUserInfoDto);
    Result<Object> deleteUser();
}
